package cn.itsource.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RequestMapping("hi")
public class HiController {
    @RequestMapping("01")
    public String toHi(Model model){
        model.addAttribute("msg","HI");
        return "hi";
    }
}
